package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessesPoolDTO;
import com.qk.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

/**
 * @author: byLengs
 * @Date: 2025/10/15 10:57
 * @Description:
 */
public interface BusinessService extends IService<Business> {
    PageResult<Business> businessesPoolList(BusinessesPoolDTO dto);

    void backBusinessPool(Integer id);

    void toCustomer(Integer id);

    void updateBusinessInfoById(UpdateBusinessInfoDTO dto);

    BusinessVO getBusinessInfoById(Integer id);

    PageResult<BusinessDO> businessList(BusinessListDTO dto);

    void addBusiness(BusinessDTO dto);
}
